Analogous to the corresponding RenderNode method, but taking an Int to conform to Drawable's interface.